﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO;
using DTO;
namespace BUS
{
    public class PhieuXuatKhoB
    {
        PhieuXuatKhoDB daoBep = new PhieuXuatKhoDB();

        //Phiếu xuất_______________________________________________________________________________
        public DataTable bLayDSPhieuXuat()
        {
            return daoBep.dLayDSPhieuXuat();
        }
        public DataTable LayDSPhieuXuatTheoNgayBatDau(DateTime dtBatDau)
        {
            return daoBep.DSPhieuXuatTheoNgayBatDau1(dtBatDau);
        }
        public DataTable LayDSPhieuXuatTheoNgay(DateTime dtBatDau, DateTime dtKetThuc)
        {
            return daoBep.DSPhieuXuatTheoNgay1(dtBatDau, dtKetThuc);
        }
        public bool ThemPhieuXuatKho(PhieuXuatKho dto)
        {
            return daoBep.dThemPhieuXuatKho(dto);
        }
    }
}
